package com.hospital.entity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class Checkitem {
    @NotNull(message = "检查项目id不得为空")
    private int checkitem_id;

    @NotEmpty(message = "检查项目名称不得为空")
    private String checkitem_name;

    @NotNull(message = "检查项目价格不得为空")
    private double checkitem_price;
}
